export const tableOption = {
  selection: true,
  printBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: true,
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  height: 450,
  "column": [{
    "type": "input",
    "label": "唯一标识",
    "prop": "id",
    hide: true,
    display: false
  }, {
    "type": "select",
    "label": "调入线路",
    "prop": "inLineCode",
    cascaderItem: ["inStationCode"],
    props: {
      label: 'name',
      value: 'code'
    },
    dicUrl: "/support/swparamline/dict",
    display: false
  }, {
    "type": "select",
    "label": "调入站点",
    "prop": "inStationCode",
    dicFlag: false,
    props: {
      label: 'name',
      value: 'code'
    },
    dicUrl: "/support/swparamstation/dict/{{key}}",
    display: false
  }, {
    "type": "input",
    "label": "调入时间",
    "prop": "inTime",
    hide: true,
    display: false
  },
  // {
  //   "type": "date",
  //   "label": "调出时间",
  //   "prop": "outTimeDTO",
  //   format:"yyyy-MM-dd",
  //   valueFormat:"yyyy-MM-dd",
  //   search:true,
  //   hide:'true',
  //   display: false
  // },
  // {
  //   "type": "input",
  //   "label": "票种",
  //   "prop": "cardType",
  //   dicUrl: '/admin/dict/type/support_ticket_type',
  //   display: false
  // }, {
  //   "type": "select",
  //   "label": "车票名称",
  //   "prop": "cardTypeParam",
  //   dicUrl: '/support/swpmticketcardtypeparam/dict',
  //   display: false
  // },

   {
    label: '票种',
    prop: 'cardType',
    search: true,
    type: 'select',
	cascaderItem: ["cardTypeParam"],
    dicUrl: '/support/swpmticketcardtype/dict',
    props: {
      label: 'mainName',
      value: 'mainEnName'
    },
  },{
    label: '车票名称',
    prop: 'cardTypeParam',
    type: 'select',
	search:true,
	dicFlag: false,
    props: {
      label: 'subName',
      value: 'subEnName'
    },
    dicUrl: '/support/swpmticketcardtypeparam/dictAll/{{key}}',
  },
  {
    "type": "number",
    "label": "金额",
    "prop": "money",
	precision: 2,
    display: false
  }, {
    "type": "input",
    "label": "次数",
    "prop": "amount",
    display: false
  }, {
    "type": "input",
    "label": "计划数量",
    "prop": "outNumber",
    display: false
  }, {
    "type": "input",
    "label": "调出数量",
    "prop": "outToNumber",
    display: false
  },{
    "type": "input",
    "label": "接收数量",
    "prop": "inNumber",
    display: false
  },{
    "type": "input",
    "label": "特殊工作卡卡号",
    "prop": "specialCardNo",
    display: false
  }, {
    "type": "input",
    "label": "差异数量",
    "prop": "diffNumber",
    display: false
  },  {
    "type": "input",
    "label": "接收人",
    "prop": "inPerson",
    display: false
  }, {
    "type": "input",
    "label": "接收人工号",
    "prop": "inPersonCode",
    display: false
  }, {
    "type": "select",
    "label": "调出线路",
    "prop": "outLineCode",
    search: true,
    cascaderItem: ["outStationCode"],
    props: {
      label: 'name',
      value: 'code'
    },
    dicUrl: "/support/swparamline/dict",
    display: false
  }, {
    "type": "select",
    "label": "调出站点",
    "prop": "outStationCode",
    search: true,
    dicFlag: false,
    props: {
      label: 'name',
      value: 'code'
    },
    dicUrl: "/support/swparamstation/dict/{{key}}",
    display: false
  }, {
    "type": "datetime",
    "label": "调出时间",
    "prop": "outTime",
    format:"yyyy-MM-dd HH:mm:ss",
    valueFormat:"yyyy-MM-dd HH:mm:ss",
    display: false
  },  {
    "type": "input",
    "label": "调出人",
    "prop": "outPerson",
    display: false
  }, {
    "type": "input",
    "label": "调出人工号",
    "prop": "outPersonCode",
    display: false
  }, {
    "type": "input",
    "label": "申请表id用来自动确认接收更改状态",
    "prop": "applyId",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "流水号",
    "prop": "orderNum",
    "hide": true,
    display: false
  }, {
    "type": "input",
    "label": "操作人",
    "prop": "makePerson",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "操作人工号",
    "prop": "makePersonCode",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "操作时间",
    "prop": "makeTime",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "备注",
    "prop": "remark",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "申诉状态",
    "prop": "applyStatus",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "申诉原因",
    "prop": "applyCase",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "反馈信息",
    "prop": "backMessage",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "前端显隐",
    "prop": "isVisible",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "通知状态 0 未通知 1 已通知",
    "prop": "noticeStatus",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "调出确认通知状态",
    "prop": "isConfirmOut",
    hide: true,
    display: false,
    dicUrl: '/admin/dict/type/stm_cycle_notice_confirm',
  }, {
    "type": "input",
    "label": "调入确认通知状态",
    "prop": "isConfirmIn",
    hide: true,
    display: false,
    dicUrl: '/admin/dict/type/stm_cycle_notice_confirm',
  }, {
    "type": "input",
    "label": "办理状态",
    "prop": "handleStatus",
    display: false,
    dicUrl: '/admin/dict/type/stm_cycle_handle_status'
  }, {
    "type": "input",
    "label": "调出完成 0未完成 1已完成",
    "prop": "isOut",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "接收完成 0未完成 1已完成",
    "prop": "isIn",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "调票原因",
    "prop": "cycleCase",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "部门id",
    "prop": "deptId",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "创建人ID",
    "prop": "creatorId",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "创建人名称",
    "prop": "creatorName",
    hide: true,
    display: false
  }, {
    "type": "input",
    "label": "创建时间",
    "prop": "createTime",
    hide: false,
    display: false
  }, {
    "type": "input",
    "label": "更新时间",
    "prop": "updateTime",
    hide: true,
    display: false
  }],
  group: [{
    label: '调出信息',
    column: [{
      "type": "input",
      "label": "调出人",
      "prop": "outPerson"
    }, {
      "type": "input",
      "label": "调出人工号",
      "prop": "outPersonCode"
    }, {
      "type": "select",
      "label": "调出线路",
      "prop": "outLineCode",
      cascaderItem: ["outStationCode"],
      props: {
        label: 'name',
        value: 'code'
      },
      dicUrl: "/support/swparamline/dict"
    }, {
      "type": "select",
      "label": "调出站点",
      "prop": "outStationCode",
      dicFlag: false,
      props: {
        label: 'name',
        value: 'code'
      },
      dicUrl: "/support/swparamstation/dict/{{key}}"
    },
    // {
    //   "type": "input",
    //   "label": "票种",
    //   "prop": "cardType",
    //   dicUrl: '/admin/dict/type/support_ticket_type'
    // }, {
    //   "type": "select",
    //   "label": "车票名称",
    //   "prop": "cardTypeParam",
    //   dicUrl: '/support/swpmticketcardtypeparam/dict'
    // },
   {
      label: '票种',
      prop: 'cardType',
      //search: true,
      type: 'select',
      dicUrl: '/support/swpmticketcardtype/dict',
      props: {
        label: 'mainName',
        value: 'mainEnName'
      },
    },	  {
      label: '车票名称',
      prop: 'cardTypeParam',
      type: 'select',
      props: {
        label: 'subName',
        value: 'subEnName'
      },
      dicUrl: '/support/swpmticketcardtypeparam/dictAll/{{key}}',
    },
    {
      "type": "number",
      "label": "金额",
      "prop": "money",
	  precision: 2,
    }, {
      "type": "input",
      "label": "次数",
      "prop": "amount"
    }, {
      "type": "input",
      "label": "调出数量",
      "prop": "outToNumber"
    },{
    "type": "input",
    "label": "特殊工作卡卡号",
    "prop": "specialCardNo"
    }]
  }, {
    label: '调入信息',
    column: [{
      "type": "select",
      "label": "调入线路",
      "prop": "inLineCode",
      cascaderItem: ["inStationCode"],
      props: {
        label: 'name',
        value: 'code'
      },
      dicUrl: "/support/swparamline/dict"
    }, {
      "type": "select",
      "label": "调入站点",
      "prop": "inStationCode",
      dicFlag: false,
      props: {
        label: 'name',
        value: 'code'
      },
      dicUrl: "/support/swparamstation/dict/{{key}}"
    }, {
      "type": "input",
      "label": "调入时间",
      "prop": "inTime",
      hide: true,
      addDisplay: false,
      editDisplay: false
    },
    // {
    //   "type": "input",
    //   "label": "票种",
    //   "prop": "cardType",
    //   dicUrl: '/support/swpmticketcardtype/dict'
    // }, {
    //   "type": "select",
    //   "label": "车票名称",
    //   "prop": "cardTypeParam",
    //   dicUrl: '/support/swpmticketcardtypeparam/dict'
    // },
    {
      label: '票种',
      prop: 'cardType',
      //search: true,
      type: 'select',
      dicUrl: '/support/swpmticketcardtype/dict',
      props: {
        label: 'mainName',
        value: 'mainEnName'
      },
    },	  {
      label: '车票名称',
      prop: 'cardTypeParam',
      type: 'select',
      props: {
        label: 'subName',
        value: 'subEnName'
      },
      dicUrl: '/support/swpmticketcardtypeparam/dictAll/{{key}}',
    },
    {
      "type": "number",
      "label": "金额",
      "prop": "money",
	  precision: 2,
    }, {
      "type": "input",
      "label": "次数",
      "prop": "amount"
    }, {
      "type": "input",
      "label": "接收人",
      "prop": "inPerson"
    }, {
      "type": "input",
      "label": "接收人工号",
      "prop": "inPersonCode"
    }, {
      "type": "input",
      "label": "计划数量",
      "prop": "outNumber",
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "接收数量",
      "prop": "inNumber",
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "差异数量",
      "prop": "diffNumber",
      addDisplay: false,
      editDisplay: false
    },{
    "type": "input",
    "label": "特殊工作卡卡号",
    "prop": "specialCardNo",
     addDisplay: false,
     editDisplay: false
    } ]
  }]
}
